.f-view-change {
    display: inline-block;

    .f-view-change-tile {
        display: flex;

        .f-view-change-tile-btn {
            text-align: center;
            white-space: nowrap;
            vertical-align: middle;
            padding: $f-btn-padding-y 0.5rem;
            line-height: 1.125rem;
            font-size: 0.875rem;
            border: 1px solid $f-view-change-btn-border-color;
            margin-left: -1px;
            color: $f-view-change-btn-text;
            background: $f-view-change-btn-bg;
            cursor: pointer;

            &:first-child {
                border-radius: $farris-border-radius 0 0 $farris-border-radius;
            }

            &:last-child {
                border-radius: 0 $farris-border-radius $farris-border-radius 0;
            }

            &:not(.tile-btn-disable):hover,
            &.tile-btn-active {
                border-color: $f-view-change-btn-hover-border-color;
                position: relative;
            }

            &:not(.tile-btn-disable):hover .tile-btn-icon {
                color: $f-view-change-btn-hover-text;
            }

            .tile-btn-icon {
                font-size: 0.875rem;
            }

            &.tile-btn-active {
                background: $f-view-change-btn-active-bg;
                color: $f-view-change-btn-active-color;

                &:hover {
                    background: $f-view-change-btn-active-hover-background;
                    border-color: $f-view-change-btn-active-hover-border-color;
                }

                .tile-btn-icon {
                    color: $f-view-change-btn-active-color !important;
                }
            }

            &-disable {
                color: $f-text-07;
                background: $f-neutral-09;
                cursor: default;
            }
        }
    }

    .f-view-change-dropdown {
        display: inline-block;
        position: relative;

        .f-view-change-toggle {
            display: inline-block;
            background: $farris-btn-secondary-bg;
            border: 1px solid $farris-btn-secondary-border;
            border-radius: $farris-border-radius;
            padding: $f-btn-padding-y 0.5rem;
            width: 2.875rem;
            white-space: nowrap;
            box-shadow: $farris-btn-box-shadow-outline;

            .toggle-btn-icon {
                font-size: 0.875rem;
                color: $f-neutral-01;
            }

            &::after {
                font-family: 'FarrisIcons';
                content: '\e006';
                display: inline-block;
                margin-left: 0.125rem;
                font-size: 0.875rem;
                color: $f-neutral-01;
                line-height: 1;
            }

            &:hover {
                border-color: $farris-btn-secondary-hover-border;

                .toggle-btn-icon {
                    color: $farris-btn-secondary-hover-color;
                }

                &::after {
                    color: $farris-btn-secondary-hover-color;
                    border-top-color: $farris-btn-secondary-hover-border;
                }
            }
        }

        .f-view-change-typelist {
            display: none;
            position: absolute;
            right: 0;
            top: 100%;
            z-index: 1000;
            min-width: 10rem;
            padding-top: 0.375rem;

            .f-view-change-typelist-content {
                background: $f-neutral-00;
                box-shadow: $farris-dropdown-box-shadow;
                border-radius: $farris-dropdown-border-radius;
                padding: $farris-dropdown-padding-y $farris-dropdown-padding-x;
            }

            .f-view-change-typelist-arrow {
                display: block;
                position: absolute;
                right: 15px;
                top: 2px;
                width: 8.48528137px;
                height: 8.48528137px;
                background: transparent;
                border-style: solid;
                border-width: 4.24264069px;
                border-top-color: $f-neutral-00;
                border-right-color: transparent;
                border-bottom-color: transparent;
                border-left-color: $f-neutral-00;
                box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.08);
                transform: translateX(-50%) rotate(45deg);
            }

            .typelist-item {
                padding: $farris-dropdown-item-padding-y $farris-dropdown-item-padding-x;
                border-radius: $farris-dropdown-item-border-radius;
                color: $f-text-04;
                white-space: nowrap;
                overflow: hidden;
                text-align: left;
                cursor: pointer;

                .typelist-item-icon {
                    display: inline-block;
                    width: 1rem;
                    margin-right: 0.25rem;
                    font-size: 14px;
                    color: $f-neutral-01;
                }

                &:not(.typelist-item-disable):hover {
                    background: $farris-dropdown-link-hover-bg;
                    color: $farris-dropdown-link-hover-color;
                }

                &.typelist-item-active {
                    background: $farris-dropdown-link-active-bg;
                    color: $farris-dropdown-link-active-color;
                }

                &-disable {
                    color: $f-text-07;
                    cursor: text;

                    &:hover {
                        color: $f-text-07;
                    }
                }

            }
        }

    }
}

.f-viewchange-content-item.f-viewchange-view-none {
    display: none !important;
  }
  